home *** CD-ROM | disk | FTP | other *** search
/ New Perspectives on Computer Concepts / New Perspectives on Computer Concepts.iso / np2010c / page752.pag < prev    next >
Portable Network Graphic  |  2008-10-02  |  107KB  |  817x1045  |  8-bit (256 colors)
Labels: chat room | computer | crt screen | hakham | laptop | monitor | plant | road | sky | window
OCR: 684 SECTION CHAPTER 1.2 In a visual development environment, each control comes with a predefined set of events. Within the context of programming, an event is defined as an action, such as click drag key press, associated with form or control. programmer can select the events that apply to each control. For exam- ple programmer might decide that pizza program users will be allowed to left-click either the Round Pizza or Square Pizza button in each Pizza Shape box. Users will not be allowed to right-click, double-click, or drag these buttons however An event usually requires the computer make response Programmers write event- t-handling code for the procedures that specify how the com- puter responds to each event. For example user clicks an icon depict- ing a round pizza, an event-handlin ...